How can an error be reported when the parameter id is adjusted to the API in this way?

how can an error be reported by adjusting the API parameter id in this way?
this is a pop-up box, two pages will share this pop-up box, and the other page will have no problem when the other page is called.
error:

showApproveState(show,record) {
        const {busiType} = this.props;
        let busi_type = busiType?busiType:"";
        this.props.getApplyAudit(record.id,busi_type=="container"?"container":"apply");
        this.setState({
            ApproveStateVisible: show,
        })
    }
//action
export function getApplyAudit(id,type,state) {
    const path="/auditing/getApplyAuditInfo";
    return{
    type:"APPLY_AUDIT_INFO",
        payload: {
            promise: api.get(path, {
                params:{
                    id,
                    type,
                    state
                }
            })
        }
    }
}

//reducer
case "APPLY_AUDIT_INFO_PENDING":
    return {...state,auditStateList:{loading:true}};
case "APPLY_AUDIT_INFO_SUCCESS":
    return {...state,auditStateList:{result:action.payload, loading:false}};
case "APPLY_AUDIT_INFO_ERROR":
    return {...state,auditStateList:{loading:false}};
Apr.18,2021

id is not passed or type error

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1ea7bf8-1e7b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1ea7bf8-1e7b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?