Search code examples
autodesk-forgeautodesk-model-derivative

How to get a derivative file that contains spaces?


The API documentation on obtaining specific derivative file does not explain how to obtain derivative files with spaces.

I have tried replacing the spaces in my urn with with %20, _, + and - but none of them works.


Solution

  • The derivative uses the base64 encoded version of the file name (i.e. objectName), which encodes the spaces properly.