Skip to content

Getting empty 'errors' result #48

Closed
@GregPeden

Description

@GregPeden

I have a case where the API is returning 'errors' with an empty array. Since it's handled by the API and not the exception handler, error tracing this is very difficult. I suspect it is an error event for which no message is provided in the default config.

I am not familiar enough with this package to trace the error generation at this time, otherwise I might try to provide a better hint!

So, two suggestions:

  1. If there are error events without a message, maybe they should be added to the json-api-errors.php?

  2. Perhaps a default error message should be provided, and when this default is used a log dump to the server log file should occur?

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