question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Getting some strange errors on deployment

See original GitHub issue
I 2020-05-26T13:40:22.579388309Z   <-- POST /_wildcard_api/updateLockdownRule/args-in-body
E 2020-05-26T13:40:22.582009313Z 
E 2020-05-26T13:40:22.582077999Z Malformatted API request `/_wildcard_api/updateLockdownRule/args-in-body`.
E 2020-05-26T13:40:22.582085676Z Cannot JSON parse `[{"rule":{"_key":"q2dY","_id":"covid_lockdown_rules/q2dY","_rev":"_ajC0PfS--B","name":"Events","icon":"ZDz4","customRuleDetails":[],"levelDetails":[{"lvl":1,"type":"NOT_ALLOWED","customValues":[]},{"lvl":2,"type":"NOT_ALLOWED","customValues":[]},{"lvl":3,"type":"NOT_ALLOWED","customValues":[]},{"lvl":4,"type":"NOT_ALLOWED","customValues":[]},{"lvl":5,"type":"NOT_ALLOWED","customValues":[]}],"categories":["ZBlt","PgU-"],"description":"Sporting or Entertainment","dateCreated":"json-s:tYpE|Date|2020-05-26T13:35:34.303Z"}}]`.
E 2020-05-26T13:40:22.582097456Z JSON Parse Error:
E 2020-05-26T13:40:22.582102226Z assert.internal is not a function
E 2020-05-26T13:40:22.582107151Z
E 2020-05-26T13:40:22.582107151Z 
I 2020-05-26T13:40:22.582910504Z   --> POST /_wildcard_api/updateLockdownRule/args-in-body 400 4ms 673b

Hi Romuald, hope you’re well 😃

Just started getting some strange errors on a new deployment today. The strange thing is that these errors only started occurring after some time - and now even with a renewed deployment, they are still occurring. Its all very weird.

I’m investigating now, but just thought I’d drop this here in case you’ve ever seen something like this happening with Wildcard before. It seems that assert.internal is failing, so could have something to do with your custom assert library, perhaps not installing properly on the deployment side… but it should be.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:17 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
brilloutcommented, May 26, 2020

Going to eat something, I’m starving haha. I’ll update Wildcard later tonight.

0reactions
lostpebblecommented, May 26, 2020

Great, thanks!

Cool, shoot me a message closer to the time and lets make a plan to grab a beer 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Strange Code Coverage error in deployment
When deploying a single field (some dummy test field) from the sandbox we get this error: Your code coverage is 63%.
Read more >
Strange error when I want to deploy community to scratch org ...
deployment - Strange error when I want to deploy community to scratch org. Is it sfdx bug or I missing something? - Salesforce...
Read more >
Deployment Cycle of Emotions: You're Not Alone
Experts have studied the cycle of emotions military families encounter during deployment and have found certain emotional characteristics can be identified ...
Read more >
Deployment pipelines troubleshooting - Power BI
I'm getting a warning that I have 'unsupported artifacts' in my workspace when I'm trying to deploy. How can I know which items...
Read more >
Weird Error Importing Module in Deployment Script
I'm getting a strange (to me) error when tryin to run a post deployment script with a 3rd party PowerShell module:
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found