Skip to content

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

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)));

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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