Sign in

Upload source map

documented

Upload a JavaScript source map (with related minified JS) for de-minification of stack traces; requires API key with Source Maps permission.

POST /v3/sourcemaps/{log_id}Source Mapsno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api.elmah.io/v3/sourcemaps/{{$log_id}}?api_key={{ELMAH_API_KEY}}" \
  -X POST \
  -F "Path={{$path}}" \
  -F "SourceMap=@{{$source_map_path}};type=application/json" \
  -F "MinifiedJavaScript=@{{$minified_js_path}};type=text/javascript" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer {{ELMAH_API_KEY}}"