Skip to content

403 Forbidden from WordPress server despite valid API key #412

@bdbuffalo-glitch

Description

@bdbuffalo-glitch

Hello,

I'm getting 403 Forbidden errors when accessing the Congress.gov API from my WordPress server, but my API key works perfectly in my web browser.

Details:

What works:
✅ API works in my web browser
✅ API key is valid and active

What doesn't work:
❌ WordPress server requests get 403 Forbidden
❌ Tried different User-Agent headers
❌ Tried both wp_remote_get and cURL
❌ Got new API key - still 403

This appears to be an IP-based block. Could my server's IP address be whitelisted for API access?

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions