Tell us what’s happening:
Timestamp Microservice - Tests 2 through 8 return [Error]
I’m fairly confident my code is working correctly as clicking the links produces the same result as the example, I also tested for the 6th test by commenting out one of the if statements and the it correctly produced the json object, I’ve also commited all of it to github. Yet when I submit the link for both gitpod and github, I simply receive the following error messages:
[Error]
[Error]
[Error]
[Error]
jQuery.Deferred exception: Cannot read properties of undefined (reading ‘error’) TypeError: Cannot read properties of undefined (reading ‘error’)
at Object.eval (eval at <freecodecamp link I can’t add>/js/frame-runner-6d7953a656a242114ea1.js:2:123872), :7:31)
at u (<freecodecamp link I can’t add>/js/frame-runner-6d7953a656a242114ea1.js:2:26888)
at c (<freecodecamp link I can’t add>/js/frame-runner-6d7953a656a242114ea1.js:2:27190) undefined
[TypeError: Cannot read properties of undefined (reading ‘error’)]
[Error]
[Error]
I’ve scoured the forums and the only solution I can find was related to CORS but the code I added achieved nothing and these posts are old and dont contain the CORS fix this current boilerplate has. I’m truly lost and don’t even know how to go about finding a solution as the error messages produce nothing of value (at least in my eyes)
Thanks in advance
###Your project link(s)
solution: https://freecodecam-boilerplate-hgl2lubxcqn.ws-eu116.gitpod.io
GitHub - Maximillian-98/fcc-Timestamp-Microservice
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36 Edg/130.0.0.0
Challenge Information:
Back End Development and APIs Projects - Timestamp Microservice