Skip to content

You should add better error responses on Core CurrentsAPI #4

Open
@tejas-kr

Description

@tejas-kr

I sent the below request

curl --location --request GET 'https://api.currentsapi.services/v1/latest-news?language=hn&apiKey=VeryNiceKey'

Notice I have sent language=hn and the API returned below resp -

{
    "status": "500",
    "msg": "Server failed"
}

You should be more specific for the error.

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