Skip to content

Internal server error while creating a new link #16

@adirsation

Description

@adirsation

Sometimes I receive errors with code 500 saying 'Internal server error', this happens from time to time but I am able to create links successfully most of the times.
I contacted branch.io official support and they won't agree to look into that issue from their end while I'm using an unofficial package (even though this package just queries their api)
This is the response JSON:

response: {
    status: 500,
    statusText: 'Internal Server Error',
    headers: {
      'content-type': 'text/html',
      'content-length': '190',
      connection: 'close',
      'access-control-allow-origin': '*',
      date: 'Thu, 03 Feb 2022 17:12:52 GMT',
      'x-branch-request-id': '628d160f7291488bb44b7d8484c954fa-2022020317',
      'x-cache': 'Error from cloudfront',
    },
    config: {
      url: '/url',
      method: 'post',
      data: '{"screen":"xx","medium":"xx","feature":"xx","action":"xx","data":{"xx":"xx xx","xx":"xx","xx":"xx"},"branch_key":"xxx"}',
      headers: [Object],
      baseURL: 'https://api.branch.io/v1',
      transformRequest: [Array],
      transformResponse: [Array],
      timeout: 0,
      adapter: [Function: httpAdapter],
      xsrfCookieName: 'XSRF-TOKEN',
      xsrfHeaderName: 'X-XSRF-TOKEN',
      maxContentLength: -1,
      maxBodyLength: -1,
      validateStatus: [Function: validateStatus],
      json: true
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions