HOME / COMMUNITY Switch to knowledge base

Problems uploading receipts > 200k using API

I am uploading receipts to the receipt hub using the API.
This works really nicely, but when the PDF file size is more than around 200k the upload fails.
I checked the specs for POSTS and there is no such limit here.
So I wondered if there is a QuickFile size limit imposed on API POSTed receipt files?

Thanks.

Hi @waxit

I’ve just given this a quick test with a file around 380kb, and this has uploaded fine.

What error are you seeing exactly?

I am getting this result from my curl:

{“Errors”:{“Error”:[“Internal Error: Unexpected character encountered while parsing value: $. Path ‘’, line 0, position 0.”]}}

Would you be able to send us a copy of your request please (just the body is fine), in a private message to @QFSupport? We can take a look at this for you then.

@waxit - Thanks for the document.

I’ve asked a developer to take a look at this.

Hi @waxit

Apologies for not coming back to you sooner. This actually went live some time ago.

Hopefully this is now resolved and working all OK for you, but if you are still experiencing problems, please don’t hesitate to start a new thread and let us know.

Hi.
I have tested this out, and am still receiving the same error.
I am happy to help debug this if it helps?

Regards

John

Thanks for the update @waxit

I’ve passed this back to our development team. Apologies for that!