Skip to Content

SAP B1 Service Layer Large json size error

Dec 12, 2016 at 09:21 AM


avatar image
Former Member

I am trying send a 4MB json on https://servername:50000/b1s/v1/Invoices but the service layer is replying this error

XMLHttpRequest cannot load https://servername:50000/b1s/v1/Invoices. No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://localhost:8888’ is therefore not allowed access. The response had HTTP status code 502.

NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'https://server:50000/b1s/v1/Invoices'.

It’s working If it’s just a few lines of item rows. The 4MB is just one consolidated A/R Invoice.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers