Open almosnow opened 3 weeks ago
the RTK client already has a line for parsing this. https://github.com/serratus-bio/open-virome/blob/ab7e2c0d451c2fced2af32b72e2669ece5f1113d/frontend/src/api/client.ts#L23
Can remove the error message from console if it's too noisy. I couldn't figure out why api-gateway was base64 encoding the request sometimes.
Also, we should try using that client instead of using fetch since it will handle UI caching, retries, etc
Is there something actionable here?
Calls to
https://zrdbegawce.execute-api.us-east-1.amazonaws.com/prod/counts
return errors like the one in the subject.That string is base64 encoded so maybe a missing
atob(...)
call somewhere?