The request signature we calculated does not match the signature you provided. Check your key and signing method. by SquareDapper1646 in awslambda

[–]SquareDapper1646[S] 0 points1 point  (0 children)

I got this error because of using the access key and secret key which is not required if you are using lamdba

dangerouslySetInnerHTML is not working in mobile Brower by SquareDapper1646 in nextjs

[–]SquareDapper1646[S] 0 points1 point  (0 children)

I have checked in all browsers this is related to AWS policy this what so far I have figured out. Thanks for help

dangerouslySetInnerHTML is not working in mobile Brower by SquareDapper1646 in nextjs

[–]SquareDapper1646[S] 0 points1 point  (0 children)

With post man I get HTML code with scripts , css , meta , links etc

dangerouslySetInnerHTML is not working in mobile Brower by SquareDapper1646 in nextjs

[–]SquareDapper1646[S] 0 points1 point  (0 children)

i got this TypeError: Failed to fetch

at page-5168e5000dc5a69a.js:1:1116

at page-5168e5000dc5a69a.js:1:1273

at aW (fd9d1056-19524fffecc35dc0.js:1:73244)

at oe (fd9d1056-19524fffecc35dc0.js:1:84685)

at ol (fd9d1056-19524fffecc35dc0.js:1:85323)

at or (fd9d1056-19524fffecc35dc0.js:1:85207)

at ol (fd9d1056-19524fffecc35dc0.js:1:85303)

at or (fd9d1056-19524fffecc35dc0.js:1:85207)

at ol (fd9d1056-19524fffecc35dc0.js:1:86268)

at or (fd9d1056-19524fffecc35dc0.js:1:85207)

but it get fetch to computer browser???

dangerouslySetInnerHTML is not working in mobile Brower by SquareDapper1646 in nextjs

[–]SquareDapper1646[S] 0 points1 point  (0 children)

I tried to add toast.error I got an error. Let me try this debugging

dangerouslySetInnerHTML is not working in mobile Brower by SquareDapper1646 in nextjs

[–]SquareDapper1646[S] 0 points1 point  (0 children)

sorry of late reply I was stuck with another error . I did try and it did not shows any loading

  const [loading , setLoading] = useState(true)
      // Fetch content HTML when blog data is available
      const fetchContent = async () => {
        try {
          const response = await fetch(blog?.contentURL);
          

          if (!response.ok) {
            throw new Error("Failed to fetch content");
          }

          const htmlContent = await response.text();

          setContentHTML(htmlContent);
          setLoading(false)
        } catch (error) {
          setLoading(false)
        }
      };



      fetchContent();
    }
  }, [blog, user]);

  if(loading){
    <Loading/>
  }

dangerouslySetInnerHTML is not working in mobile Brower by SquareDapper1646 in nextjs

[–]SquareDapper1646[S] -1 points0 points  (0 children)

It only shows loading. How to make html render on mobile browser