Nintendo Switch symbol upload

Upload Nintendo Switch symbol files to allow BugSnag to symbolicate stacktraces.


You will need to upload the generated symbol file for your Nintendo Switch game to BugSnag to see the source file, line number and method in error stacktraces.

Uploading mapping files

To send Nintendo Switch symbol mapping files to BugSnag, POST them to (or the address of your upload server, if using BugSnag On-premise) with the following parameters:

  • symbolFile - the path to the Nintendo Switch symbol file.
  • apiKey - your BugSnag integration API key for this application.
  • projectRoot - (optional) the root path of the project on the filesystem where the application was built. This improves error grouping and allows BugSnag to know which stack frames are from within your project.
  • overwrite - (optional) whether to overwrite any existing symbol file for the same build, either true or false
  • appVersion - (optional) the version of the application that the symbols relate to.
  • moduleName - (optional) the name of the module/application/binary that the symbols relate to.

cURL example

Here’s an example request with curl, where the ’@’ sign indicates that the symbolFile parameter is an uploaded file:

$ curl --http1.1 \
    "" \
    -F symbolFile=@path/to/example.nss \
    -F apiKey=YOUR_API_KEY_HERE \
    -F projectRoot=C:\projects\MyProject \
    -F appVersion=1.2.3 \
    -F overwrite=true

Response codes

If the file is accepted then an HTTP 202 response will be returned with the body “Accepted”.

If not, there are several possible problems which will be indicated with an HTTP 4XX response:

  • 400 - missing required file - indicates that the file is missing.
  • 400 - missing required param - indicates that a required parameter is missing.
  • 400 - invalid file format - indicates that the uploaded symbols file was in an incorrect format (not ELF)
  • 422 - received empty file - indicates that the uploaded file is empty
  • 401 - invalid apiKey - indicates that the provided apiKey doesn’t correspond to a BugSnag project.
  • 409 - duplicate symbol file - indicates that BugSnag already has the provided file. You can ignore this error by using the overwrite parameter.