FoundryNet / Error codes / HTTP / REST 401
HTTP / REST error code

401 — Unauthorized — missing or invalid API key

No credential was presented, or the one presented did not resolve. Forge fails loudly here rather than silently downgrading to anonymous access.

Start free HTTP / REST → canonical

Diagnosis

When you hit this


Resolution

How to fix it

  1. Use the Bearer prefix
    Authorization: Bearer YOUR_FORGE_KEY. The bare key without the scheme is a 401.
  2. Confirm the key is live
    Rotate and re-issue from the dashboard if there is any doubt.
  3. Omit the header entirely to test
    Keyless normalization is allowed at a low daily cap, which is a quick way to prove the endpoint works and isolate the credential.

Normalization

What Forge does about it

Forge deliberately does not silently degrade. If a credential is presented and does not resolve, the request fails with 401 rather than being treated as anonymous — a silent downgrade would let a revoked key look like it was still working while quietly losing identity, history, and triggers.


Connect

Normalize HTTP / REST telemetry

One MCP endpoint serves every protocol adapter. 16,908 curated mappings, 366 canonical fields.

# normalize telemetry from HTTP / REST — and 13 other protocols
claude mcp add --transport http forge https://mcp.foundrynet.io/mcp \
  --header 'Authorization: Bearer YOUR_FORGE_KEY'
✓ forge connected — 32 tools available

Related

Keep reading

Other HTTP / REST codes: 402 403 422 429

Equipment that speaks HTTP / REST: Caterpillar Cummins Haas MiR (Mobile Industrial Robots) Universal Robots OTTO Motors 6 River Systems AGILOX Detroit Diesel Fetch Robotics

HTTP / REST protocol hub

Other protocols: Modbus OPC UA MQTT / Sparkplug B FANUC FOCAS EtherNet/IP PROFINET / S7 BACnet/IP J1939 (CAN) MTConnect ROS 2 (DDS) SNMP MAVLink CSV ingest

All error codes · All OEMs · All protocols

Industrial AI fails at the data layer. The Machine Agent explains why, weekly. Read it →
Get the thesis behind this infrastructure — The Machine Agent, weekly.