Access Denied on Uploaded Receipt with £ Symbol

Continuing the discussion from Access Denied on uploaded receipt (RESOLVED):

I’m having this issue a lot lately… The PDF is viewable from the receipt hub, but when I link the receipt to a credit note after having created a credit note from the original invoice, I get this error…

<Error>
<Code>AccessDenied</Code>
<Message>Access Denied</Message>
<RequestId>9F82425A2E15C077</RequestId>
<HostId>
k+78U7r3brJ+OcQcg5cPRw6QsVn7s0OzGpEh+5d2oY0MxaFwI0+jFyugJfd8118T3KvX7jNt+zA=
</HostId>
</Error>

The typical file name is:

Global Credit 0000027462 -£32.64.pdf

Any ideas?

If there have been issues in the past with “unusual” characters in file names then I would suspect the £ sign as the most likely problem this time (the £ character takes two bytes to represent in UTF-8 and commonly appears wrongly when a piece of code is not careful enough about character encodings, as a programmer this has bitten me several times over the years).

Does it work for files without a pound sign in their names?

1 Like

As @ian_roberts suggested, it is an issue with the £ symbol encoding in the file name, but only when you import an existing receipt already in the document manager. Uploading directly to the purchase would work fine.

We’re looking at this now and we will correct the link and fix the underlying issue.

This topic was automatically closed after 7 days. New replies are no longer allowed.