I am using tableau java SDK version 10.0 and I tried to publish the datasource in the sample project which is not belong to that user, I got SERVER_ERROR instead of PERMISSION_DENIED error
e.g Sample project belongs to sample users (user1, user2) but when I tried to publish the datasource as user3 then I got SERVER_ERROR in this case user3 doesn't have permission to publish datasource in the sample project so it should return PERMISSION_DENIED error but I got SERVER_ERROR
In which case PERMISSION_DENIED occurs?