xero-node icon indicating copy to clipboard operation
xero-node copied to clipboard

CORS ERROR

Open utkarsh3020 opened this issue 1 year ago • 4 comments

Hi, I am getting cors error while hitting the API's from the frontend react app, while its working fine when hits on backend live sever port.

utkarsh3020 avatar Apr 08 '24 05:04 utkarsh3020

PETOSS-412

github-actions[bot] avatar Apr 08 '24 05:04 github-actions[bot]

Thanks for raising an issue, a ticket has been created to track your request

github-actions[bot] avatar Apr 08 '24 05:04 github-actions[bot]

Hi, is there anybody who can help me regarding this issue?

utkarsh3020 avatar Apr 17 '24 12:04 utkarsh3020

Hi @utkarsh3020 Xero-Node is a backend library. Further, Xero API does not support CORS so if you're trying to make calls from a react app you'll need to do so via a server intermediary

RettBehrens avatar Apr 18 '24 16:04 RettBehrens

Hey @utkarsh3020 ,

It seems like this issue is not with SDK and it is more on the API side.

I kindly request you to raise the concern in Xero developer support forum if your issue is not yet resolved.

sangeet-joy-tw avatar Aug 20 '24 08:08 sangeet-joy-tw