Skip to content

404 Error #154

@chrystianfarias

Description

@chrystianfarias

Any plate queried returns the not found (404) error. Sinesp-api still works today?

<html>
<head><title>404 Not Found</title></head>
<body bgcolor="white">
<center><h1>404 Not Found</h1></center>
<hr><center>nginx/1.14.1</center>
</body>
</html>

undefined:1
<html>
^

SyntaxError: Unexpected token < in JSON at position 0
    at JSON.parse (<anonymous>)
    at request (C:\Users\Farias\Projetos\sharkbot\node_modules\sinesp-api\index.js:80:21)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async get (C:\Users\Farias\Projetos\sharkbot\test.js:4:19)
const sinespApi = require('sinesp-api');

const get = async () => {
   let vehicle = await sinespApi.search('GHX2G27');
   console.log(vehicle);
}
get();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions