Skip to content

Error: invalid json response body at https://us-central1-all-that.cloudfunctions.net/og-image/api/templa... #212

@sentry

Description

@sentry

In a nutshell need to add a retry with an exponential backoff

https://cloud.google.com/functions/docs/troubleshooting#scalability

Sentry Issue: THAT-API-11T

Error: invalid json response body at https://us-central1-all-that.cloudfunctions.net/og-image/api/template/activity/?id=PDRCyNGR5oss2AakfRjt reason: Unexpected token < in JSON at position 1
  File "/usr/src/that/events/admin.js", line 325, in EventEmitter.<anonymous>
    Sentry.captureException(new Error(err.message));
  File "/usr/src/that/events/admin.js", line 313, in <anonymous>
    catch((e) => process.nextTick(() => adminEventEmitter.emit('error', e)));

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions