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

Parsing error in extension module #1219

Open
andihalberkamp opened this issue Nov 4, 2024 · 3 comments
Open

Parsing error in extension module #1219

andihalberkamp opened this issue Nov 4, 2024 · 3 comments

Comments

@andihalberkamp
Copy link

andihalberkamp commented Nov 4, 2024

hi,

I am encountering a persistent issue in our Adyen extension to JSON parsing. The error details are as follows:

Error Message:

javascript
Code kopieren
SyntaxError: Unexpected token u in JSON at position 0
    at JSON.parse (<anonymous>)
    at _getPaymentObject (file:///app/src/api/payment/payment.controller.js:73:30)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async processRequest (file:///app/src/api/payment/payment.controller.js:30:21)
    at async Server.<anonymous> (file:///app/src/server.js:26:9)
Context:

Function: _getPaymentObject in payment.controller.js at line 73
Invocation: processRequest in payment.controller.js at line 30
Server Entry Point: server.js at line 26

We tried to debug that error, but we didn`t find any hint of why the parsing error occures.
Maybe you can help up to fix this issue?

Best regards,

Andi

@adyen-integrations-support

Hello,

Thank you for reaching out. This is just a quick note to inform you that we received your ticket.

We will take this issue into consideration as soon as possible.

Best regards

@andihalberkamp
Copy link
Author

Hi,
Were you able to take a look at this issue? or can you add a debug log to the code, so that I can inspect that issue?
Best Andi

@adyen-integrations-support

Hi,

Thank you for your patience. We wanted to let you know that we are still working on resolving the issue. As soon as we have more information or updates, we will inform you immediately.

If you have any further questions in the meantime, please feel free to reach out.

Best regards

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