Dprouter error custom config page

custom config page was working, now im running into this issue, if anyone has any idea of what is going on your suggestions would be greatly appreciated.

1 Like

Hi Omar!

Welcome to the Forum!

We figured out that this bug is caused by our latest release, we are working towards fixing this issue as soon as possible, we’ll let you know once the issue is fixed.

Have a Good day :slight_smile:

Update:
@osanchez This issue has been fixed, kindly check and let us know!

2 Likes

Hello, thank you for the follow up message. the previous errors appear to be gone. I am now getting a 404 message saying route not allowed. @velmurugan

FDK version: 6.2.3
Freshparent version: v1.8.1

code snippet:

    client.db.get("appInstalled").then(
                    function (data) {
                        console.info(data)
                    },
                    function (error) {
                        console.info(error);
                    });
            })

here is the network log (with some possibly sensitive information removed)

Request URL: http://localhost:10001/dprouter
Request Method: POST
Status Code: 404 Not Found
Remote Address: [::1]:10001
Referrer Policy: no-referrer-when-downgrade
Access-Control-Allow-Credentials: true
Access-Control-Allow-Headers: *
Access-Control-Allow-Methods: POST, GET, PUT, UPDATE, DELETE, OPTIONS
Access-Control-Allow-Origin: http://localhost:10001
Connection: keep-alive
Content-Length: 44
Content-Type: application/json; charset=utf-8
Date: Fri, 27 Mar 2020 18:00:03 GMT
X-Powered-By: Express
Accept: */*
Accept-Encoding: gzip, deflate, br
Accept-Language: en-US,en;q=0.9
Cache-Control: no-cache
Connection: keep-alive
Content-Length: 41
Content-Type: application/json
Host: localhost:10001
MKP-ROUTE: db
Origin: http://localhost:10001
Pragma: no-cache
Referer: http://localhost:10001/custom_configs
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-origin
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.116 Safari/537.36
X-CSRF-TOKEN: dummy
X-Requested-With: XMLHttpRequest
{dbKey: "appInstalled", action: "fetch"}
dbKey: "appInstalled"
action: "fetch"
1 Like

Hello @velmurugan, I just want to follow up to verify if the issue I am experiencing is still FS side or if it is a local issue.

HI @osanchez

We couldn’t reproduce the issue! I believe this is not an issue with FS, most of the times these kind of issue might occur due to browser cache, you could clear the browser cache or try in incognito once! Sometimes new project or replacing the client.db snippet will make this issue go away. If none if the above works kindly send over your code for us to take a look!

Hope you have a Good day!