Server error: Unable to save Dxpr content

Created on 29 September 2023, 12 months ago
Updated 6 December 2023, 10 months ago

Problem/Motivation

I'm using Drupal 9.3 and using dprx_builder and dprx_theme and deployed site so when i saving any Dxpr component on IP than it saving successfully but on the other hand try same on domain than getting 403 Forbidden in response and getting error popup as like - Server error: Unable to save field body on page testing

Steps to reproduce

Deploy your site
Try save component on IP - works fine
Now try on Domain - error will come

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Needs work

Version

2.5

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @kushagra.goyal
  • 🇳🇱Netherlands jurriaanroelofs

    Hi, are you able to get the full error message from the Drupal log? That could be helpful here.

    Also please try clearing all caches if you haven't already tried, and try updating to the latest version of DXPR Builder.

  • Status changed to Postponed: needs info 12 months ago
  • 🇳🇱Netherlands jurriaanroelofs

    we need to be able to reproduce this in order to help

  • Hi, we are not getting any error in Drupal log, it think it is because this issue not from Drupal side, we just got red warning error and when we tried to save dxpr changes by licking on blue save icon and in network tab an api getting failed (image attached). so there will be error somewhere else...

    The thing is we are not getting any error in local. this reproducible on live (uat, dev) sites.

  • Status changed to Needs work 10 months ago
  • 🇳🇱Netherlands jurriaanroelofs

    Hi again, can you provide the full error with backtrace information from the Drupal log? 500 error means something went wrong in the backend, not the frontend :)

  • Hi, as i mentioned in last comment, not able to see any errors in drupal logs. When we are hitting 'Save' button (blue icon from drupal). there is one API called which is https://uat.startupindia.gov.in/sih/dxpr_builder/ajaxtoken=rywoK8LvktEiE... which comes under 'dxpr_save_container' AJAX request call.

    but this gives us '403 Forbidden' as a response. previously i was thinking it was a permission issue because i was using free license of dxpr. but i notice that it sometimes working but mostly didn't. so i have also tried with purchased license but didn't get success on it.

Production build 0.71.5 2024