Replit told me to hire an outside developer for problem my Replit agent created

HELP, please. I am new to this. I designed an app in a few months, got approved by Apple, and am now stuck in a loop hat my Replit Agent, and Replit, cannot fix. And I cannot understand why.

I have been trying to do this on a small budget as a passion project, but the appeal of the app makes me want to complete it and launch.

Layman’s terms: My app is like a Resort-Pass tool to find certain venues (use “gyms with kettlebells” as an example). A niche tool for travelers. Replit and I built listings, with a “Directions” button, and a “Nearby” button. Somehow, the app is sending coordinates no matter if it uses Google API or Open Cage, or Foursquare to Apple Maps (not an exact address) and therefore most of the directions to each venue are incorrect by 1-3 miles.

Replit explanation:
I need help with a location-data problem that Replit Agent has not resolved.

The Agent built my iPhone gym-finder app around stored coordinates for 524 venue listings without adequately verifying those locations or establishing a reliable process for maintaining them. Data-source licensing and storage requirements also were not settled upfront. (Keep in mind that I want to eventually expand the listings throughout North American if the app is successful).

It seems Google API results have storage and cache restrictions that could drive up unexpected costs in a short time. We removed all pool pics and created original art to move away from the licensing issues.

However, location are a problem - Some coordinates are incorrect or unverified. Those same coordinates drive Apple Maps directions, “Near Me,” and straight-line distances. Consequently, a correct displayed address can still produce the wrong destination. We have not established that Apple Maps itself is malfunctioning, and changing only the Directions link would leave the other two features unresolved.

We have explored:

  • Geocodio: reviewed 25 results; some were useful, but others matched the wrong property despite high scores.
  • OpenCage: ran 32 requests across 10 venues. Its human support team subsequently confirmed that its coverage is insufficient and paid plans return the same data.
  • Google Places: potentially useful, but directory-use, coordinate-storage, and Apple Maps restrictions remain unresolved. No location trial was run.
  • Foursquare open data: evaluation was blocked by access and terms questions.

One individual correction was verified successfully (one that I did manually which is local to my home), but the Agent has not delivered a complete, verified, affordable repair process for the existing catalog and future additions. It has suggested an external geospatial developer, which I am reluctant to pay for after the time and money already spent.

Could you help arrange a technical assessment of a workable solution within Replit?

Thank you

I’ve worked quite a bit with Replit and its Agent, and I think you’re probably closer to solving this than you realize.

From your description, I don’t think Apple Maps is necessarily the problem. It sounds like the app has incorrect coordinates stored in its database, and those coordinates are being reused for directions, nearby searches, and distance calculations.

I’d approach this a little differently:

  1. Stop switching API providers for now. You need to determine why the coordinates are wrong before spending more money on another service.

  2. Have Replit Agent audit the location database and the code that generates coordinates. Find out where each coordinate originally came from and whether the app is actually using the correct address.

  3. Test Apple’s own MapKit location search. Since this is an iPhone app using Apple Maps, I’d investigate whether Apple’s native location services can handle more of this without introducing another provider.

  4. Build a simple location verification screen. Show each venue on a map, allow you to correct its pin manually, and save that verified location. With only 524 listings, this is manageable, especially if you prioritize questionable results.

  5. Make the app use one verified location record for directions, nearby searches, and distance calculations. You don’t want three different features producing three different answers.

Most importantly, don’t ask Replit Agent to just “fix the location problem.” Give it one specific task at a time, inspect what it changes, and test the results before moving forward. I’ve found that AI agents can get stuck in loops when they’re repeatedly asked to solve a broad problem without identifying the underlying cause.

You should also verify the licensing terms of whichever provider you ultimately use, particularly if you’re planning to store coordinates permanently.

I wouldn’t give up on Replit or start spending thousands on outside development just yet. This sounds like something that could be addressed with a better data-validation process and some targeted changes to the existing app.

1 Like

THANK YOU. You are not going to believe this but I talked this through with a local small biz owner who has built several Replit designed apps … he gave me advice on how to approach the agent differently, switch into Pro mode, and guess what…

I spent the past 3 hours going through exactly what you described with it. It seems we now have a repair plan. The stored coordinates were incorrect!

This has been 3 weeks of frustration. But what’s weird is that I was doing all of this and then got done and saw your post which is the first bright light!

I owe you! Not much to offer right now, but this is exactly the kind of answer I needed (also to boost my confidence in the Replit Agent unless of course that’s you LOL!!!).

1 Like

Ok, here we go. Last night I thought we had a solution and we repaired a few listings. Now, I feel like we are stuck in a loop again. The Replit Agent, working on Pro and MAX, was planning to test another small group of the listings. I asked it to summarize what the problem is now because it keeps brining in storage.

Here is the reply: The repair works. My remaining uncertainty is about permission to reuse the source’s coordinates—not whether the app can use them correctly. I let that uncertainty dominate the discussion more than it should have.

For your developer:

  • Proven repair: Correcting a listing’s saved coordinates fixes its Directions destination. Directions, Nearby, and proximity calculations use the same database record. Three hotel corrections passed installed-iPhone checks without an app rebuild.
  • Census question: Its underlying federal geographic data can be reproduced. What I haven’t conclusively established is whether Census’s separate API acknowledgment wording applies to coordinates obtained through its Geocoder and stored in our catalog.
  • Geocodio question: Its contract permits permanent storage and reuse, but makes us responsible for any underlying-source licensing and attribution. We need to establish the applicable requirements—not assume every result has identical conditions.
  • Accuracy: Neither provider guarantees the correct property or entrance. That is why we verify candidates before saving them.
  • Cost: Lookups can happen only during catalog preparation. Customers browsing those stored listings need not trigger paid lookups. Hosting and image-delivery costs remain separate.

Popularity is not the unresolved obstacle here. Even substantial growth need not multiply geocoding charges with this approach.

The narrow question for the developer is: Which source permits this permanently stored, shared venue catalog, and what acknowledgment—if any—is required? We need that practical determination, not another broad investigation or a perfect, risk-free provider."

Any help is greatly appreciated. I really need to break through on this; I know other apps offer directions or nearby functions, but I will strip them out if I have to (reluctantly).

Literally repairing the listings with me pasting code into the production database. Almost done. Time to test. Then add some new listings and see if that actually works, LOL. I cannot wait to move past this part and prepare for launch!

Great! Did you know you can ask the agent to check the live database to see if things look right? That can be really helpful

1 Like

Yes, been doing that a lot. For some reason, it tells me my production database is read only so it had me copying and pasting code into the production database to fix the listings.

They appear fixed! Now, one other weird thing I don’t understand. It told me this about using Cloudflare:

Neither prevents someone retrieving the entire catalogue through a single otherwise-valid request. That limitation remains regardless of the implementation effort.

So I pressed it about how much security I would need, saying I didn’t want a new Apple submission. But I asked about options to protect my data and just how common it is for someone to hack and steal entire app listings like this..it came up with another option…is this sound or worrisome?

AGENT - The safeguard is implemented, and all 34 targeted tests passed. It allows 120 catalogue reads per internet address per minute; exceeding that triggers a 60-second block that clears automatically.

Images do not count toward the limit. The tests confirm that different callers remain independent, forged address headers cannot reset the counter, and blocked requests stop before database queries. I’m checking the rebuilt backend now.

1 Like

Richard, a couple of things that usually get the Replit Agent out of these loops. First, when the agent says a Replit Database is read-only in production, it’s almost always because the running deployment is hitting the read-only replica; the fix is to make sure your code connects to the database’s write URL, not the read one - you can grab the correct URLs from your Repl’s database settings and pin them in your Secrets rather than hardcoding them, which also stops the agent from rewriting them mid-task. Second, keep the agent out of production for repairs: clone the repo to a fresh development Repl, let the agent audit and fix the listings there, verify the data looks right in the dev database, then push to your production branch - that way one bad agent run can’t corrupt your live rows. If you want, paste the exact “read only” error it surfaced and the snippet it tried to run; it’s usually a one-line bind-address or role mismatch that the agent can fix in a fresh task once the environment is set up correctly.ne-line bin

@jwndrdr

Hey there folks. So, I definitely recommend using “new tasks” as you go through a process. I think there is a lot of value in not having a giant conversation.

I will be testing over 480 listings later to make sure the basis of the app works. I noticed a DISTINCT difference in the accuracy of the work once I switched to Power and Max modes and used a new task.

It’s been exhausting, but after testing, I will be moving towards launch. I will be preparing advertising materials and trying to figure that out next.

  1. Any strong suggestions to test or worry about with an app store launch I should know? Like the Replit Agent keeps talking about “first week monitoring.”

  2. Any concerns about securing my info, database, or website? I use Cloudflare and will not have the website as a user active site. It is just to host the Apple privacy statement, etc.

My goal is to successfully launch, perhaps make a few dollars back, and then decide what I want to do with it depending on how much work it is. This is not my full-time passion or job. And I have other ideas.

Thanks for all of the help! This has been a blast.

1 Like

Richard, congrats on getting this far and on the Power/Max + new-task workflow paying off - you should feel good about that. For the launch, the most useful “first week” habit is a lightweight monitoring loop: watch error logs and response latency and set up a basic uptime check on your public endpoints so you catch failures before users do. On security, since the website is just a privacy-statement host behind Cloudflare, keep your database credentials in Replit Secrets (not the repo), lock the database to the IPs your app actually uses, and make sure the privacy site serves only the pages it needs. Good luck with the 480-listing test and the launch - you’ve earned it.

1 Like