Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REST API request processing error, check status for details #380

Closed
southxzx opened this issue Jun 11, 2024 · 1 comment
Closed

REST API request processing error, check status for details #380

southxzx opened this issue Jun 11, 2024 · 1 comment

Comments

@southxzx
Copy link

Hi, i'm using pubnub on my nodejs app. Everything seems to work well but sometime in the middle, I got an error from pubnub and crash my app. I suspect that it comes from the publish method and wrap it within the try-catch block but didn't help.

Below is the error message I got:

/app/node_modules/pubnub/lib/errors/pubnub-api-error.js:137
        return new pubnub_error_1.PubNubError(message !== null && message !== void 0 ? message : this.message, this.toStatus(operation));
               ^
PubNubError: REST API request processing error, check status for details
    at PubNubAPIError.toPubNubError (/app/node_modules/pubnub/lib/errors/pubnub-api-error.js:137:16)
    at /app/node_modules/pubnub/lib/core/pubnub-common.js:299:32
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
@parfeon
Copy link
Contributor

parfeon commented Jun 11, 2024

@southxzx thank you for reaching out to us.

Is there any more details to this error to help us handle the issue better on our end?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants