bcgov / cthub

Apache License 2.0
1 stars 5 forks source link

Bug - geographic names maximum query length #361

Open emi-hi opened 1 month ago

emi-hi commented 1 month ago

Describe the Bug if the spreadsheet contains too many geographic locations the api request fails

Steps To Reproduce Steps to reproduce the behaviour: User/Role: uploader

  1. upload the suvi dataset from teams
  2. See error the backend shows this error: Client Error: Request-URI Too Long for url

this indicates we need to change the way the request is sent, eg batches

JulianForeman commented 1 month ago

PR up for this does address the maximum query length, but I found when testing on a huge file it takes FOREVER to load. Maybe we should discuss this api call further.